function [aero_up_con,aero_down_con]=modify_con(aerobox,stru_grid,aero_up_con,aero_down_con)
for i=1:size(aero_up_con,1)
    j=find(aerobox(:,1)==aero_up_con(i,1));
    aero_up_con(i,2)=(stru_grid(aerobox(j,2),2)+stru_grid(aerobox(j,6),2)+stru_grid(aerobox(j,10),2)+stru_grid(aerobox(j,14),2))/4.0;
    aero_up_con(i,3)=(stru_grid(aerobox(j,2),3)+stru_grid(aerobox(j,6),3)+stru_grid(aerobox(j,10),3)+stru_grid(aerobox(j,14),3))/4.0;
end
for i=1:size(aero_down_con,1)
    j=find(aerobox(:,1)==aero_down_con(i,1));
    aero_down_con(i,2)=(stru_grid(aerobox(j,2),2)+stru_grid(aerobox(j,6),2)+stru_grid(aerobox(j,10),2)+stru_grid(aerobox(j,14),2))/4.0;
    aero_down_con(i,3)=(stru_grid(aerobox(j,2),3)+stru_grid(aerobox(j,6),3)+stru_grid(aerobox(j,10),3)+stru_grid(aerobox(j,14),3))/4.0;
end
end